-- GENERATED SPELL FOR [Wildspawn Imp] --


function spell0_13276(pUnit, Event) --@Fire Blast,n/a--
pUnit:FullCastSpellOnTarget(13340,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13276', 529, 1)
end

function Sorts_13276(pUnit, Event)
local choix_sorts_13276 = math.random(0, 0)
if choix_sorts_13276 == 0 then
pUnit:RegisterEvent('spell0_13276', 1, 1)
end
end

function mob13276_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13276', math.random(1500, 3000), 1)
end

function mob13276_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13276_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13276_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13276, 1, 'mob13276_Action')
RegisterUnitEvent(13276, 2, 'mob13276_Leave')
RegisterUnitEvent(13276, 3, 'mob13276_Kill')
RegisterUnitEvent(13276, 4, 'mob13276_Die')
